import request from '@/router/axios'

export const pages = (current, size, params) => {
  return request({
    url: '/biz-api/pv-supplier/supplierftyaudit/page',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  })
}
export const remove = ids => {
  return request({
    url: '/biz-api/pv-supplier/supplierftyaudit/remove',
    method: 'post',
    params: { ids }
  })
}

export const submit = data => {
  return request({
    url: '/biz-api/pv-supplier/supplierftyaudit/submit',
    method: 'post',
    data
  })
}

export const detail = id => {
  return request({
    url: '/biz-api/pv-supplier/supplierftyaudit/detail',
    method: 'get',
    params: {
      id
    }
  })
}
